import { createAPI } from '@/utils/request'

// 获取组题列表
export const getRandomsListApi = data => createAPI('/questions/randoms/', 'get', data)

// 删除组题列表
export const delRandomsListApi = data => createAPI(`/questions/randoms/${data.id}`, 'delete', data)
